![]() |
GetFPos |
||||
Header: | Files.h | Carbon status: | Supported | |
Determines the current position of the mark before reading from or writing to an open file.
OSErr GetFPos ( SInt16 refNum, SInt32 *filePos );
The file reference number of an open file.
On output, a pointer to the current position of the mark. The position value is zero-based; that is, the value of filePos is 0 if the file mark is positioned at the beginning of the file.
A result code.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)